package com.ming_za.odupdaterserver.core.sqlite.mapper;

import com.ming_za.odupdaterserver.core.sqlite.domain.MainVersion;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 28365
* @description 针对表【main_version】的数据库操作Mapper
* @createDate 2025-01-06 11:22:35
* @Entity com.ming_za.odupdaterserver.core.sqlite.domain.MainVersion
*/
public interface MainVersionMapper {

    int deleteByPrimaryKey(@Param("version") Integer version);

    int insert(MainVersion record);

    int insertSelective(MainVersion record);

    MainVersion selectByPrimaryKey(@Param("version") Integer version);

    int updateByPrimaryKeySelective(MainVersion record);

    int updateByPrimaryKey(MainVersion record);

    //===========================================

    List<MainVersion> selectAllForSort();

    int updateAll(List<MainVersion> records);

}
